<h1>Listing collections</h1>

<table>
  <tr>
  </tr>

<% for collection in @collections %>
  <tr>
    <td><%= link_to collection.name, museum_collection_path(@museum.id, collection.id) %> - <%= pluralize(collection.entities.size, "object") %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New collection', new_museum_collection_path(@museum.id) %>
